package com.example.demo.poi.simple;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentLoopMerge;
import lombok.Data;

@Data
public class SimpleEasyExcelVo {

    @ContentLoopMerge(columnExtend = 2, eachRow = 2)
    @ExcelProperty("姓")
    private String surname;

    @ExcelProperty("名")
    private String name;

    @ExcelProperty("性别")
    private String sex;

    @ExcelProperty("年龄")
    private Integer age;

    @ExcelProperty("身高")
    private Double height;

    @ExcelProperty("地址")
    private String address;

    @ColumnWidth(20)
    @ExcelProperty("手机")
    private String phone;


}
